package com.pp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@MapperScan("com.pp.dao")   //必须在入口类中加入这个配置
@SpringBootApplication
public class SpringBootDemo1 {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootDemo1.class,args);
    }
}
